﻿using System;
using System.Diagnostics;
public class ConsoleApp1
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Please input a digit:");
        string s = Console.ReadLine();
        int a1 = Int32.Parse(s);
        Console.WriteLine("Please input a digit:");
        s = Console.ReadLine();
        int a2 = Int32.Parse(s);
        Console.WriteLine("Please input a operator:");
        string op = Console.ReadLine();
        switch (op)
        {
            case "+":
                Console.WriteLine("The answer is " + (a1 + a2));
                break;
            case "-":
                Console.WriteLine("The answer is " + (a1 - a2));
                break;
            case "*":
                Console.WriteLine("The answer is " + (a1 * a2));
                break;
            case "/":
                Console.WriteLine("The answer is " + (a1 / a2));
                break;
        }
    }
}